package com.ls.pattern.observer.mouse.handler;

import com.ls.pattern.observer.mouse.core.Event;
import com.ls.pattern.observer.mouse.core.EventListener;

/**
 * @author 挥之以墨
 */
public class MouseEventListener implements EventListener {

    public void onClick(Event e) {
        System.out.println("=======触发点击事件=======" + e);
    }

    public void onMove(Event e) {
        System.out.println("=======触发移动事件=======" + e);
    }
}
